import fetch from '../request.js'

// 销售退货

// -销售记录列表数据
export function saleList(params) {
	return fetch.request("/pekingFish/app/storage-sale-record/getSaleList", "GET",params, false, false, true)
}

// 添加到清单-删除-修改销售价
export function editSaleRecord(params) {
	return fetch.request("/pekingFish/app/storage-sale-record/editSaleRecord", "POST",params, false, false, true)
}

//已添加清单列表数据
export function salesReturnList(params) {
	return fetch.request("/pekingFish/app/storage-sale-record/salesReturnList", "POST",params, false, false, false)
}


// 提交
export function saleReturnsSubmit(params) {
	return fetch.request("/pekingFish/app/storage-sale-record/saveSaleReturn", "POST",params, false, false, false)
}

// 销售退货==》全部清空
export function cleanReturnsOutData(params) {
	return fetch.request("/pekingFish/app/storage-sale-record/cleanOutData", "POST",params, false, false, false)
}